package cn.zsb.zsb.dao;

import cn.zsb.zsb.entity.Buyhistory;
import cn.zsb.zsb.entity.BuyhistoryExample;

import java.util.List;

public interface BuyhistoryMapper {
    long countByExample(BuyhistoryExample example);

    int deleteByPrimaryKey(Long id);

    int insert(Buyhistory record);

    int insertSelective(Buyhistory record);

    List<Buyhistory> selectByExample(BuyhistoryExample example);

    Buyhistory selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Buyhistory record);

    int updateByPrimaryKey(Buyhistory record);
}